import http from "@/utils/http"

/**
 * 新增博客分类
 * @param {*} data 
 * @returns 
 */
export function addBlogArticle(data) {
  return http({
    url: 'blogArticle',
    method: 'post',
    data
  })
}

/**
 * 修改博客分类
 * @param {*} data 
 * @returns 
 */
export function updateBlogArticle(data) {
  return http({
    url: 'blogArticle',
    method: 'put',
    data
  })
}